home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / adikit.arc / DSADI.H < prev    next >
Text File  |  1986-12-01  |  3KB  |  77 lines

  1. /*          DSADI.H
  2.  
  3.     Definitions specific to ADI Display Drivers, and to the coordinating
  4.     generic AutoCAD driver DSGEN
  5. */
  6.  
  7. #define    INTLEVEL  3             /* Current interface level */
  8.  
  9. /*  Request codes  */
  10.  
  11. #define    INIT1     1             /* Initialise parameters 1 */
  12. #define    INIT2     2             /* Initialise parameters 2 */
  13. #define    INIT3     3             /* Initialise parameters 3 */
  14. #define    INIT4     4             /* Initialise parameters 4 */
  15. #define    INIT5     5             /* Initialise parameters 5 */
  16. #define    TERM      9             /* Terminate */
  17.  
  18. #define    CLEAR    10             /* Clear graphics screen */
  19. #define    DOT      11             /* Complement dot */
  20. #define    MOVE     12             /* Set screen cursor */
  21. #define    DRAW     13             /* Draw line */
  22. #define    FLOOD    14             /* Solid fill vertex / point */
  23. #define    MARK     15             /* Draw graphic cursor */
  24. #define    CMARK    16             /* Clear graphic cursor */
  25.  
  26. #define    CHAR     20             /* Draw character on graphics screen */
  27. #define    ECHAR    21             /* End character string */
  28. #define    MHLITE   22             /* Menu highlight */
  29. #define    MDHLITE  23             /* Menu de-highlight */
  30. #define    MNUCUR   24             /* Set character address to box */
  31.  
  32. #define    TPROMPT  30             /* Set character address to prompt line */
  33. #define    QPLOT    31             /* Screen dump */
  34. #define    RPEN     32             /* Read pen */
  35. #define    GOTEXT   33             /* Go to text screen */
  36. #define    GOTEXTU  34             /* Go to text screen - user request */
  37. #define    GOGRAPH  35             /* Go to graphics screen */
  38. #define    WRSPLIT  36             /* Write to split screen */
  39. #define    MODELINE 37             /* Write to mode line */
  40. #define    COORDLIN 38             /* Write to coordinate line */
  41.  
  42. #define    SYNC     50             /* Flush display buffers */
  43. #define    REDRAW   51             /* Driver-local redraw */
  44. #define    DSCOMAND 52           /* Driver specific command */
  45. #define    DSXPCOMD 53           /* Driver specific transparent command */
  46.  
  47. /*  Configuration bits  */
  48.  
  49. #define    CF_TEXT   1             /* Draw text scrolling area */
  50. #define    CF_MENU   2             /* Draw screen menu */
  51. #define    CF_STATUS 4             /* Draw status line */
  52.  
  53. /*  Repaint control bits  */
  54.  
  55. #define    RP_STAT   1             /* Repaint status line */
  56. #define    RP_MENU   2             /* Repaint status line */
  57. #define    RP_SCROLL 4             /* Repaint scroll area */
  58. #define    RP_GRAPH  8             /* Redraw picture */
  59.  
  60. /*  Driver mode bits  */
  61.  
  62. #define    DM_CCECH  1             /* Suppress echo of control C */
  63. #define    DM_HLEN   2             /* Driver can do highlighting */
  64. #define    DM_GROK   4             /* Driver is single screen */
  65.  
  66. /*  Extended function enable bits */
  67.  
  68. #define    EF_SYNC   1             /* Enable SYNC function */
  69. #define    EF_REDRAW 2             /* Enable REDRAW function */
  70. #define    EF_CMD    4           /* Enable display driver commands */
  71. #define    EF_XPCMD  8           /* Enable driver transparent commands */
  72.  
  73. /*  Drawmode control bits  */
  74.  
  75. #define    DR_HILITE 1            /* Draw using highlighting */
  76. #define       DR_NORDRW 2            /* This line NOT a drawing entity */
  77.                     /* Do not redisplay on REDRAW calls */